﻿	config.eventcfg = {								//质量检测登记和安全检查登记 的前台方法		addQuest: function(){			var records = this.grid.getSelectionModel().getSelections();			if (!JxUtil.selected(records)) return;						var checkids = '';			for (var i = 0; i < records.length; i++) {				var checkid = records[i].get('quality_check__check_id');				checkids += '&keyid=' + checkid ;			}						var params = 'funid=quality_checkreg' + checkids; 			params += '&pagetype=grid&eventcode=addQuest';						var self = this;			var endcall = function(data) {				//重新加载数据				self.grid.getStore().reload();			};			//发送请求			Request.postRequest(params, endcall);		}
	};